import { createApp } from 'vue'
import { createPinia } from 'pinia'
import { Tabbar, TabbarItem } from 'vant';
import { Search } from 'vant';
import { Swipe, SwipeItem } from 'vant';
import { Button } from 'vant';
import { Space } from 'vant';
import { Popover } from 'vant';
import App from './App.vue'
import router from './router'
//重置样式
import "normalize.css"
import 'amfe-flexible'
import 'vant/es/toast/style'
import './svg/icon.css'
import './svg/iconfont.js'
// 引入NoticeBar 通知栏
import { NoticeBar } from "vant";
// 引入Icon图标
import { Icon } from 'vant';
// 引入Grid 宫格
import { Grid, GridItem } from 'vant';
// 引入Card 卡片
import { Card } from 'vant';
import "normalize.css"
import 'amfe-flexible'

import './svg/icon.css'
import './svg/iconfont.js'
const app = createApp(App)
app.use(createPinia())
app.use(router)
app.use(Tabbar);
app.use(TabbarItem);
app.use(Search);
app.use(Swipe);
app.use(SwipeItem);
app.use(Button);
app.use(Space);
app.use(Popover);
app.use(NoticeBar);
app.use(Icon);
app.use(Grid);
app.use(GridItem);
app.use(Card);
app.mount('#app')
